package com.smedi.ismedi.inmail.core.domain.aggregatemodel;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 通知公告基础信息
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Person  {
    /**
     * id
     */
    protected Long id;
    /**
     * 姓名
     */
    protected String name;
    /**
     * 是否内部
     */
    protected Boolean internal;
    /**
     * 员工编号
     */
    private String employeeNum;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 单位
     */
    protected Organization organization;
    /**
     * 项目
     */
    protected List<Project> projects;
    /**
     * 项目
     */
    protected Integer personOrder;

    public Person(Long id){
        this.id = id;
    }
}